<template>
  <h1>{{ userStore.username }}</h1>
</template>

<script setup lang="ts" name="">
import { onMounted } from 'vue'
import useUserStore from '@/store/modules/user'

let userStore = useUserStore()

onMounted(() => {
  userStore.getUserInfo()
})
</script>

<style scoped lang="scss"></style>
